From: Florian Müllner Date: Mon, 24 Sep 2012 16:04:12 +0000 (+0200) Subject: keyboard: Fix check for extended keys X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5727 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f8ce788425d4bde533c34907b9e2162d085f9dd8;p=gnome-shell.git keyboard: Fix check for extended keys The existing check tested for non-existent properties. https://bugzilla.gnome.org/show_bug.cgi?id=683546 --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 5d62a7ef0..f01fdffe4 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -289,7 +289,7 @@ const Keyboard = new Lang.Class({ // Showing an extended key popup and clicking a key from the extended keys // will grab focus, but ignore that - if (focus && (focus._extended_keys || (focus._key && focus._key.extended_key))) + if (focus && (focus._extended_keys || focus.extended_key)) return; // Ignore focus changes caused by message tray showing/hiding